package com.example.demo.factoryMode.factoryMethod;

public class BoMaFactory implements CarFactory{
    @Override
    public Car getCar() {
        return new BaoMa();
    }
}
